// $$root$$Dlg.h : header file
//

#include "EditListCtrl.h"

#if !defined(AFX_RADIUSTESTDLG_H__B809AD58_1042_4040_8CF6_C201AEF1FA40__INCLUDED_)
#define AFX_RADIUSTESTDLG_H__B809AD58_1042_4040_8CF6_C201AEF1FA40__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// C$$Safe_root$$Dlg dialog

class C$$Safe_root$$Dlg : public CDialog
{
// Construction
public:
	int RadiusSend(CString strUserName, CString strPassword);
	void ReadUserInfo(CString strPathName);
	C$$Safe_root$$Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum {
		SM_SYNCHRONOUS,	// Synchronous authentication
		SM_CHALLENGE	// Challenge/Response
	};
	enum UserInfoList
	{
		USERNAME,
		PASSWORD,
		LASTSENDTIMES,
		RESULT_SUCCESS,
		RESULT_FAILURE,
		RESULT_TIMEOUT,
		RESULT_ERROR
	};
	CString m_strIpAddress;
	CString	m_strAhPort;
	//{{AFX_DATA(C$$Safe_root$$Dlg)
	enum { IDD = IDD_$$SAFE_ROOT$$_DIALOG };
	CSpinButtonCtrl	m_cspnTotalSendPerUser;
	CSpinButtonCtrl	m_cspnTimeout;
	CSpinButtonCtrl	m_cspnSendPerSecond;
	CEditListCtrl	m_clstUserFile;
	CComboBox	m_ccmbSendMode;
	CIPAddressCtrl	m_cipServerIP;
	UINT	m_uiTimeout;
	CString	m_strSharedSecret;
	CString	m_strServerReply;
	CString	m_strUserFile;
	UINT	m_uiSendPerSecond;
	UINT	m_uiTotalSendPerUser;
	UINT	m_uiAhPort;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(C$$Safe_root$$Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(C$$Safe_root$$Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnClose();
	afx_msg void OnBtnSend();
	afx_msg void OnFieldchangedIpaddIp(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnUserfile();
	afx_msg void OnKillfocusEdtAhPort();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RADIUSTESTDLG_H__B809AD58_1042_4040_8CF6_C201AEF1FA40__INCLUDED_)
